from flask import Flask
from views.ffmpeg_api import ffmpeg_bp
from views.fileupload_api import upload_bp

app = Flask(__name__)

# 注册多个蓝图
app.register_blueprint(ffmpeg_bp, url_prefix='/ffmpeg')
app.register_blueprint(upload_bp, url_prefix='')

if __name__ == '__main__':
    app.run()
